package com.ghy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ghy.utils.Json.LongJsonDeserializer;
import com.ghy.utils.Json.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("aut_ident")
public class Ident {
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("存放所有内容的json字符串")
    private String content;
    @ApiModelProperty("巡检点照片路径")
    private String pictureUrl;
    @ApiModelProperty("巡检点视频路径")
    private String videoUrl;

    @ApiModelProperty("根据这个参数来确定是巡检设备还是巡检点位，0是巡检设备，1是巡检点位")
    private String sysType;

}
